/**
 * 所有版权归 广西梧州 陈锦韬 所有
 *
 * @Title: RxHandlerForSort
 * @Package com.rx.core.handler
 * @Description: 为了临时排序
 * @author: 陈锦韬
 * @date: 2021\6\14 0014
 * @version V1.0
 * @Copyright: 2021 陈锦韬  All rights reserved.
 */
package com.rx.core.handler;

import lombok.Data;

/**
 * @author: Administrator
 * @Description: 为了临时排序
 * @date: 2021\6\14 0014
 */
@Data
public class RxHandlerForSort {
    int order;
    RxHandlerWraper handlerWraper;
    public RxHandlerForSort(Integer order,RxHandlerWraper handlerWraper){
        this.order = order;
        this.handlerWraper = handlerWraper;
    }

    @Override
    public boolean equals(Object object){
        RxHandlerForSort rxHandlerMethod = (RxHandlerForSort)object;
        if (this.handlerWraper.equals(rxHandlerMethod.getHandlerWraper())){
            return true;
        }
        return false;
    }
    @Override
    public int hashCode() {
        return this.handlerWraper.hashCode();
    }
}
